/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-05-05 18:10:56
 * @LastEditors: voanit
 * @LastEditTime: 2022-05-06 09:38:42
 */
import React from 'react'
import { Consumer } from '../../context'
const Siter = (props) => {
  console.log(props, 87755)
  return (
    <div>
      <Consumer>{(data) => <span>我是一个span==={data}</span>}</Consumer>
      御剑乘风来,除魔天地间!==Siter
      <button onClick={() => props.f2('我是sister:哥哥，给我介绍一个男朋友')}>
        sister====brother传值
      </button>
      <h1>{props.children}</h1>
    </div>
  )
}
export default Siter
